﻿using System;

namespace oueb.react
{
    public class OuebReact
    {
        public static IOuebServer LoadWebPath(IOuebServer ouebServer, string path)
        {
            var module = ReactWebModule.Open(path);
            return ouebServer.AddRoute(null, module);
        }
    }
}
